package comtwo;


import comone.javatwo.User;

import java.util.*;

public class Demo8 {
    public static void main(String[] args) {
        List<User> list = new ArrayList<User>();
        //boolean add = list.add(1);
        User user = new User();
        user.setName("lisi");
        list.add(user);

        User user1 = list.get(0);
        System.out.println(user1.getName());
        Set<User> set = new HashSet<User>();
        Iterator<User> iterator = set.iterator();

        Map<String,String> map = new HashMap<String,String>();
        map.put("ddd","1");
    }
}
